package com.yunlongcoding.cahuomarketing.result;


import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * 自定义通用响应返回结果
 * @author 王云龙
 * @version 1.0
 * @date 7/2/2018  10:05 AM
 */
public class CommonResponseResult implements Serializable {

    private static final long serialVersionUID = -8953431368758823323L;
    // 响应业务状态（成功返回200）
    private Integer status ;
    // 响应信息
    private String message ;
    // 响应中的数据
    private Object data ;


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


    public CommonResponseResult(Integer status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
